export const searchForm = {
    name: 'productList',
    searchItems: [
        {
            type: 'input',
            label: '产品code',
            prop: 'name',
            placeholder: '请输入集合编号',
       
        },
        {
            type: 'input',
            label: '产品名称',
            prop: 'name',
            placeholder: '请输入集合编号',
       
        },
        {
            type: 'select',
            label: '运营商',
            prop: 'value',
            placeholder: '请选择商品分类',
            option:[]

        },

        {
            type: 'input',
            label: '白名单省',
            prop: 'name',
            placeholder: '请输入',
       
        },
        
        {
            type: 'input',
            label: '白名单市',
            prop: 'name',
            placeholder: '请输入集合编号',
        },
        {
            type: 'data-picker',
            label: '审核日期',
            prop: 'name',
            placeholder: '请输入集合编号',
        },

    ],
    tableBtnItems: [
        {
            name: '新建',
            color: "#1f63ff",
            icon: 'Plus',
            type:'add',
        }
    ],
    formBtnItems: [
        {
            name: '查询',
            color: "#1f63ff",
            icon: 'Search',
            type:'search'
        },
        {
            name: '重置',
            color: "",
            icon: 'RefreshRight',
            type:'reSet'
        },
        {
            name: '下载',
            color: "",
            icon: 'Download',
            type:'upload'
        }
    ],
    btnSize:'small',
    labelwidth: '80px',
    size:'mini'
}

export const tableProps= {
    name: 'productList',

    propsList: [

        {
            type: 'normal',
            prop: 'intro',
            label: '产品code',
            width: '120px'
        },
        {
            type: 'normal',
            prop: 'intro',
            label: '产品名称',
        },
       
        {
            type: 'normal',
            prop: 'intro',
            label: '运营商',
            width: '120px'
        },
        {
            type: 'normal',
            prop: 'intro',
            label: '白名单省',
            width: '120px'
        },
        {
            type: 'normal',
            prop: 'intro',
            label: '白名单市',
            width: '120px'
        },
        {
            type: 'normal',
            prop: 'intro',
            label: '产品1id',
            width: '120px'
        },
        {
            type: 'normal',
            prop: 'intro',
            label: '产品1概率',
            width: '120px'
        },
        {
            type: 'normal',
            prop: 'intro',
            label: '产品2id',
            width: '120px'
        },
        {
            type: 'normal',
            prop: 'intro',
            label: '产品2概率',
            width: '120px'
        },
        {
            type: 'normal',
            prop: 'intro',
            label: '剩余单量',
            width: '120px'
        },
        {
            type: 'handle',
            label: '操作',
            width: '140px',
            btnType: ' link',
            list:[{ name:'查看'},{ name:'编辑'}],
        }
    
    ],
    tableSize: 'default',
    btnSize:'small'
    
}

